package com.liankuan.console.controller.vo;

import com.liankuan.console.dto.Strategy;
import lombok.Data;

@Data
public class StrategyListVO {
    private Integer id;
    private String name;
    private String jarName;
    private Integer level;
    private String creator;
    private String state;

    public StrategyListVO() {
    }

    public StrategyListVO(Strategy strategy) {
        this.id = strategy.getId();
        this.name = strategy.getName();
        this.jarName = strategy.getJarName();
        this.level = 0;//默认为最高权限
    }
}
